package com.marvels.common.dto;

import java.io.Serializable;

/**
 * 数据库基表对象
 * @author wangliang
 *
 */
public class BasicDataDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// 主键id
	private Integer id;
	// 编码
	private String code;
	// 名称
	private String name;
	// 备注
	private String remark;
	// 排序
	private int sort;
	
	//表字段扩展
	/**
	 * 应用场景
	 * 1.查询mcla_relation_info表type字段，表示联系人类型
	 */
	private String attr1;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getAttr1() {
		return attr1;
	}

	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}

}
